package com.tbit.uqbike.object.pojo.dto;

import com.tbit.uqbike.annos.Excel;
import com.tbit.uqbike.object.pojo.GiftCard;
import lombok.Data;

import java.util.List;

/**
 * 用户
 *
 * @author Leon
 * 2017年4月20日 下午2:43:10
 */
@Data
public class UserDTO {
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 账户id
     */
    private Integer accountId;
    /**
     * 国家码
     */
    private String country;
    /**
     * 手机号码
     */
    @Excel(name = "号码", sort = 2)
    private String phone;
    /**
     * 性别
     */
    private String sex;
    /**
     * 生日
     */
    private String birthDay;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 押金状态
     */
    @Excel(name = "押金状态", readConverterExp = "0=未提交,1=押金用户", sort = 5)
    private Integer depositState;
    /**
     * 押金金额
     */
//    @Excel(name = "押金金额" ,sort =6)
    private Integer depositMoney;

    /**
     * 押金金额
     */
    @Excel(name = "押金金额", sort = 6)
    private Double depositBalance;
    /**
     * 账户金额
     */
    private Integer money;
    /**
     * 加入时间
     */
    @Excel(name = "注册时间", sort = 8)
    private String joinTime;
    /**
     * 更新时间
     */
    private String updateTime;
    /**
     * 备注
     */
    @Excel(name = "用户备注", sort = 10)
    private String remark;
    /**
     * 头像地址
     */
    private String imageUrl;
    /**
     * 身份证号码
     */
    @Excel(name = "身份证号码", sort = 3)
    private String idNO;
    /**
     * 用户真实姓名
     */
    @Excel(name = "姓名", sort = 1)
    private String name;
    /**
     * 是否实名认证
     */
    private Boolean nameAuth;
    /**
     * 是否实名认证
     */
    private Boolean studentAuth;
    /**
     * 学生证
     */
    private String studentIdNO;
    /**
     * 免押会员到期时间
     */
    private String depositDate;

    private List<GiftCard> giftCardList;

    private Integer rechargeMoney;

    private String operaPsw;
    @Excel(name = "所属品牌", sort = 9)
    private String brandName;
    @Excel(name = "余额", sort = 4)
    private Double balance;
    /**
     * 欠款金额
     */
    @Excel(name = "欠款", sort = 7)
    private Double rideMoney;

    /**
     * 骑行分
     */
    private Integer ridingScore;
}
